Skip to main content

pwd command

pwd - Present Working Directory

Prints the current working directory you are in.

Usage: pwd [OPTION]...

$ pwd --help
pwd: pwd [-LP]
Print the name of the current working directory.

Options:
-L print the value of $PWD if it names the current working
directory
-P print the physical directory, without any symbolic links

By default, `pwd' behaves as if `-L' were specified.
username@linux:$ pwd
/home/user